package com.probox.common.entity.mapper.order;

import com.probox.customer.api.domain.CustomerGroupDefinitionQuery;
import com.probox.common.entity.domain.order.OrderInfoParent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.probox.product.api.domain.ProductOptVo;

import java.util.List;

/**
 * 订单父Mapper接口
 *
 * @author hds
 * @date 2021-05-27
 */
public interface OrderInfoParentMapper extends BaseMapper<OrderInfoParent> {

    boolean updatePayStatus(String parentOrderNo);

    List<ProductOptVo> getOptCount(CustomerGroupDefinitionQuery query);
}
